//
//  RSTextField.m
//  RemoteSay
//
//  Created by Jan Lehnardt on 09/04/2007.
//  Copyright 2007 Jan Lehnardt. All rights reserved.
//

#import "RSTextField.h"


@implementation RSTextField

-(id)init
{
	NSLog(@"use RSTextField");
	self = [super init];
	[self setAction:@selector(gotEnter:)];

	return self;
}

- (void)keyDown: (NSEvent *) event {
	
	if ([event keyCode] == 53){
        NSLog(@"Escape has been pressed");
	}
	
}

-(void)gotEnter
{
	NSLog(@"got enter");	
}
@end
